//
//  HomeSpeedingCell.m
//  NotepadApp
//
//  Created by yobet on 2018/4/18.
//  Copyright © 2018年 HJ. All rights reserved.
//

#import "HomeSpeedingCell.h"
#import "HomeKeepModel.h"

@implementation HomeSpeedingCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    // Configure the view for the selected state
}
-(void)setModel:(HomeKeepModel *)model {
    _model = model;
    self.mainImage.image =[UIImage imageWithData:model.image];
    self.title.text = model.content;
    self.money.text = [NSString stringWithFormat:@"￥%@.0元",model.money];
    
}
@end
